package singleton.demo3;

public class MyRunnable implements Runnable{
    @Override
    public void run() {
        YaFactory yaFactory = YaFactory.getInstance();
        System.out.println(Thread.currentThread().getName()+"鸭厂"+yaFactory);
    }
}
